Bookly\Lib\Cloud\API S

Total Complexity 37
Dependencies 12
Dependents 36
Total lines 336
Lines of code 136
Logical lines of code 74
Comment lines 125
Methods 19
Properties 13

Methods 19

Method Rating Maintainability Complexity Lines of code
_sendRequest()
S
50 6 28
_handleResponse()
S
57 5 16
_translateError()
S
60 4 12
dispatch()
S
65 3 9
buildUrl()
S
63 3 10
setRequestTimeout()
S
69 2 7
getInstance()
S
71 2 6
__construct()
S
62 1 11
listen()
S
80 1 3
sendDeleteRequest()
S
74 1 4
getToken()
S
82 1 3
addError()
S
80 1 3
getErrors()
S
82 1 3
clearErrors()
S
81 1 3
addErrorTranslator()
S
80 1 3
sendPatchRequest()
S
74 1 4
sendPostRequest()
S
74 1 4
sendGetRequest()
S
74 1 4
setToken()
S
81 1 3